Add optional movement on push to buttons (based on patch from Soeren
authorOwen Taylor <otaylor@redhat.com>
Sat, 25 Aug 2001 23:11:46 +0000 (23:11 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sat, 25 Aug 2001 23:11:46 +0000 (23:11 +0000)
commitb94e6c0a8036a0489ac8ca71de75ba7611218e50
treeef9133c8c4a587c14896addfe16dadacca320d82
parent8de6598f6a45a2df6cba482955c92b422db404dc
Add optional movement on push to buttons (based on patch from Soeren

Sat Aug 25 19:02:39 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkbutton.[ch] gtk/gtktogglebutton.c: Add optional movement
        on push to buttons (based on patch from Soeren Sandmann, #54720)

          - Add child_displacement_x/y style properties to control how far the
            child moves when the button is depressed.

          - Add non-exported function _gtk_button_set_depressed to clean
            up the handling of the in/out shadow and separate it frmo
            widget->state.

          - Lots of code cleanup and simplification of state handling
            for GtkButton/GtkToggleButton.

        * tests/testgtkrc: Set the x/y displacement to 1 to provide a test
        of button movement. testgtk + testgtkrc == test ugly GTK+, as always.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkbutton.c
gtk/gtkbutton.h
gtk/gtktogglebutton.c
tests/testgtkrc